package com.puchi.sdkdemo.app.home.activity;

import android.os.Bundle;
import com.zalyyh.mvvm.base.BaseActivity;

import com.puchi.sdkdemo.R;
import com.puchi.sdkdemo.BR;
import com.puchi.sdkdemo.databinding.ActivityMainBinding;
import com.puchi.sdkdemo.app.home.model.MainViewModel;


class MainActivity : BaseActivity<ActivityMainBinding, MainViewModel>() {

    override fun initContentView(savedInstanceState: Bundle?): Int {
        return R.layout.activity_main;
    }

    override fun initVariableId(): Int {
        return BR.viewModel;
    }

    override fun initData() {
        super.initData();
        model.setData(this, binding);
    }

}